<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<jsp:include page="include/menu.jsp"/>
<div class="contents">
			<div class="grid_wrapper">

				<div class="g_6 contents_header">
					<h3 class="i_16_forms tab_label">网站</h3>
					<div><span class="label">信息设置</span></div>
				</div>

				<div class="g_12 separator"><span></span></div>
				<form action="updateWebSite" method="post" >
				<div class="g_12">
					<div class="widget_header">
						<h4 class="widget_header_title wwIcon i_16_forms">基本信息</h4>
					</div>
					<div class="widget_contents noPadding">
						<div class="line_grid">
							<div class="g_3"><span class="label">网站主标题</span></div>
							<div class="g_9">
								<input class="simple_field"  type="text" name="title" value="<s:property value='%{#application.webSite.title}'/>" />
							</div>
						</div>
						<div class="line_grid">
							<div class="g_3"><span class="label">ICP 信息</span></div>
							<div class="g_9">
								<input class="simple_field"  type="text" name="icp" value="<s:property value='%{#application.webSite.icp}'/>" />
							</div>
						</div>
						<div class="line_grid">
							<div class="g_3"><span class="label">统计代码</span></div>
							<div class="g_9">
								<input class="simple_field"  type="text" name="webCm" value="<s:property value='%{#application.webSite.webCm}'/>" />
							</div>
						</div>
						<div class="line_grid">
							<div class="g_3"><span class="label">模板</span></div>
							<div class="g_9">
								<input class="simple_field" type="text"  value="<s:property value='%{#application.webSite.template}'/>" />
								<div class="field_notice">Description About The Field Content</div>
							</div>
						</div>
 
						<div class="g_6">
							<input class="submitIt simple_buttons" value="保存" type="submit">
						</div>
					</div>
				</div>
				</form>
				<div class="g_12 separator"><span></span></div>
				 
				
				<div class="g_12 separator"><span></span></div>
				<form action="updateWebSite" method="post">
				<div class="g_12">
					<div class="widget_header">
						<h4 class="widget_header_title wwIcon i_16_valid">邮箱管理</h4>
					</div>
					<div class="widget_contents noPadding">
							<div class="line_grid">
								<div class="g_3"><span class="label">邮箱用户名 <span class="must">*</span></span></div>
								<div class="g_9">
									<input type="text" placeholder="Jake Bob" name="mail_userName" value="<s:property value='%{#application.webSite.mail_userName}'/>" class="simple_field" required />
								</div>
							</div>
							<div class="line_grid">
								<div class="g_3"><span class="label">Email <span class="must">*</span></span></div>
								<div class="g_9">
									<input type="email"  placeholder="Jake Bob" name="mail_from" value="<s:property value='%{#application.webSite.mail_from}'/>" class="simple_field" required />
									<div class="field_notice">Try typing a wrong email, without @ for ex ..</div>
								</div>
							</div>
							<div class="line_grid">
								<div class="g_3"><span class="label">Password <span class="must">*</span></span></div>
								<div class="g_9">
											<input type="password" placeholder="Jake Bob" name="mail_password" value="<s:property value='%{#application.webSite.mail_password}'/>" class="simple_field" required />
								</div>
							</div>
							<div class="line_grid">
								<div class="g_3"><span class="label">Website <span class="must">*</span></span></div>
								<div class="g_9">
									<input class="simple_field" name="mail_displayName" required value="<s:property value="%{#application.webSite.mail_displayName}"/>" />
									<div class="field_notice">邮件签名</div>
								</div>
							</div>
	
							<div class="line_grid">
								<div class="g_3"><span class="label">smtp 服务器地址 <span class="must">*</span></span></div>
								<div class="g_9">
									<input class="simple_field tooltip" name="mail_smtpServer" placeholder="Focus to see a tooltip" type="text" title="请输入 smtp 服务器地址" required value="<s:property value='%{#application.webSite.mail_smtpServer}'/>"/>
								</div>
							</div>
							
							<div class="line_grid">
								<div class="g_3"><span class="label">端口 <span class="must">*</span></span></div>
								<div class="g_9">
									<input class="simple_field tooltip"  placeholder="Focus to see a tooltip" type="text" title="请输入 smtp 服务器端口" required value="25"/>
								</div>
							</div>
							
							
							<div class="line_grid">
								<div class="g_9">
									<input type="submit" value="保存" class="submitIt simple_buttons" />
								</div>
							</div>
					</div>
				</div>
				</form>
			</div>		
		</div>
		<jsp:include page="include/footer.jsp"/>